package com.example.design.patterns.冰河.行为模式.中介者模式;

import com.example.design.patterns.冰河.行为模式.中介者模式.concreteMediator.ConcreteMediator;

public class Test {
    public static void main(String[] args) {
        ConcreteMediator mediator = new ConcreteMediator();
        //老板来了
        mediator.notice("boss");
        //客户来了
        mediator.notice("client");
    }
}
